<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
</head>

<body>
<?
include "../configdb.php";
$sql="update users set users_name='$users_name',users_email='$users_email',users_user='$users_user',users_pass='$users_pass' where member_id='$member_id'";
$query=mysql_db_query($dbname,$sql);
if($query)
{?>
<script>
alert("แำก้ไขเรียบร้อยแล้ว");
</script>
<?
print "<meta http-equiv='refresh' content='1;url=show2edit_admin.php?member_id='$member_id'>" ;
}
else{
?>
<script>
alert("แก้ไขไม่ได้");
</script>

<?
print "<meta http-equiv='refresh' content='1;url=admin.php'>" ;
}



?>

</body>
</html>
